package com.rul.mars.product.service;

import com.rul.mars.mbg.domain.ProductCategoryNode;
import com.rul.mars.mbg.domain.ProductCategoryParam;
import com.rul.mars.mbg.model.ProductCategory;

import java.util.List;

/**
 * 商品分类服务
 *
 * @author RuL
 */
public interface ProductCategoryService {
    List<ProductCategoryNode> categoryStructure();

    boolean updateCategory(Long id, ProductCategoryParam param);

    boolean deleteCategory(Long id);

    boolean createCategory(ProductCategoryParam param);

    ProductCategoryNode getInfo(Long id);
}
